#ifndef __SIMPLE_ENCRYPT_H__
#define __SIMPLE_ENCRYPT_H__


typedef struct sn_t
{
	unsigned int d1;
	unsigned int d2;
	unsigned int d3;
	unsigned int d4;
	unsigned int crc;
} __attribute__((aligned(1))) sn_t;


int getsn(const char *sn, sn_t *psn);


#endif


